using System.Windows.Input;

namespace UI.Controls.Dictionaries
{
    /// <summary>
    /// Interface for a dictionary item
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IDictionaryItem<T>
    {
        /// <summary>
        /// Gets or sets the dictionary item.
        /// </summary>
        /// <value>The item.</value>
        T Item { get; set; }
        /// <summary>
        /// Gets the save command for the dictionary item.
        /// </summary>
        /// <value>The save.</value>
        ICommand Save { get; }
    }
}